package com.jeesite.modules.merchant.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.merchant.entity.Merchant;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@MyBatisDao
public interface MerchantDao extends CrudDao<Merchant> {

    String judgeMerchantName(@Param("name")String name);

    int judgeUserRepeat(@Param("userCode")String userCode);

    int saveUserInfo(Map map);

    int saveEmployeeInfo(Map map);

    int delUserRoleData(Map map);

    int saveUserRoleData(Map map);

    int getOfficeTreeSortMax();

    int saveOfficeData(Map map);


}
